Imports OMANE.Common.UI


<Serializable()> _
Public Class Axe
    Inherits ViewModelBase

    Private _Police As Police = Indicateurs.Police.Default
    Public Property Police As Police
        Get
            Return _Police
        End Get
        Set(ByVal value As Police)
            OnPropertyChanging("Police")
            _Police = value
            OnPropertyChanged("Police")
        End Set
    End Property

    Private _AutoRange As Boolean = True
    Public Property AutoRange As Boolean
        Get
            Return _AutoRange
        End Get
        Set(ByVal value As Boolean)
            OnPropertyChanging("AutoRange")
            _AutoRange = value
            OnPropertyChanged("AutoRange")
        End Set
    End Property

    Private _Minimum As Double = Double.NaN
    Public Property Minimum As Double
        Get
            Return _Minimum
        End Get
        Set(ByVal value As Double)
            OnPropertyChanging("Minimum")
            _Minimum = value
            OnPropertyChanged("Minimum")
        End Set
    End Property

    Private _Maximum As Double = Double.NaN
    Public Property Maximum As Double
        Get
            Return _Maximum
        End Get
        Set(ByVal value As Double)
            OnPropertyChanging("Maximum")
            _Maximum = value
            OnPropertyChanged("Maximum")
        End Set
    End Property

    Private _Unit As Double = 0.0
    Public Property Unit As Double
        Get
            Return _Unit
        End Get
        Set(ByVal value As Double)
            OnPropertyChanging("Unit")
            _Unit = value
            OnPropertyChanged("Unit")
        End Set
    End Property

    Private _Visible As Boolean = False
    Public Property Visible As Boolean
        Get
            Return _Visible
        End Get
        Set(ByVal value As Boolean)
            OnPropertyChanging("Visible")
            _Visible = value
            OnPropertyChanged("Visible")
        End Set
    End Property

End Class
